
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGDirectionalLight.h>
#include <OpenSG/OSGDirectionalLightBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_DirectionalLight_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_DirectionalLight()
{
    scope* osg_DirectionalLightBase_scope = new scope(
    class_< osg::DirectionalLightBase, bases< osg::Light > , boost::noncopyable >("DirectionalLightBase", no_init)
//        .def_readonly("DirectionFieldMask", &osg::DirectionalLightBase::DirectionFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::DirectionalLightBase::MTInfluenceMask)
        .def("getClassType", &osg::DirectionalLightBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::DirectionalLightBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::DirectionalLightBase::*)() )&osg::DirectionalLightBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::DirectionalLightBase::*)() const)&osg::DirectionalLightBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::DirectionalLightBase::getContainerSize)
        //.def("getDirection", (osg::Vec3f& (osg::DirectionalLightBase::*)() )&osg::DirectionalLightBase::getDirection, return_value_policy< copy_const_reference >())
        .def("getDirection", (const osg::Vec3f& (osg::DirectionalLightBase::*)() const)&osg::DirectionalLightBase::getDirection, return_value_policy< copy_const_reference >())
        .def("setDirection", &osg::DirectionalLightBase::setDirection)
        .def("getBinSize", &osg::DirectionalLightBase::getBinSize)
        .def("copyToBin", &osg::DirectionalLightBase::copyToBin)
        .def("copyFromBin", &osg::DirectionalLightBase::copyFromBin)
        .def("create", &osg::DirectionalLightBase::create)
        .def("createEmpty", &osg::DirectionalLightBase::createEmpty)
        .def("shallowCopy", &osg::DirectionalLightBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::DirectionalLightBase::NextFieldId;
    scope().attr("DirectionFieldId") = (int)osg::DirectionalLightBase::DirectionFieldId;

    delete osg_DirectionalLightBase_scope;

    class_< osg::DirectionalLight, bases< osg::DirectionalLightBase > , boost::noncopyable, osg::DirectionalLightRefPtr >("DirectionalLight", no_init)
        //.def_readwrite("statNDirectionalLights", &osg::DirectionalLight::statNDirectionalLights)
        .def("setDirection", (void (osg::DirectionalLight::*)(osg::Real32, osg::Real32, osg::Real32) )&osg::DirectionalLight::setDirection)
        .def("setDirection", (void (osg::DirectionalLight::*)(const osg::Vec3f&) )&osg::DirectionalLight::setDirection)
        .def("changed", &osg::DirectionalLight::changed)
        .def("makeChunk", &osg::DirectionalLight::makeChunk)
        .def("dump", &osg::DirectionalLight::dump, osg_DirectionalLight_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::DirectionalLightPtr>();
    implicitly_convertible<osg::DirectionalLightRefPtr, osg::DirectionalLightPtr>();
    implicitly_convertible<osg::DirectionalLightPtr, osg::LightPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::DirectionalLightPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::DirectionalLightPtr>);
}

